package com.itstyle.seckill.aop;
import java.lang.annotation.*;

@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Log(value = "API接口日志", description = "记录Crontroller日志", type = LogType.SYSTEM)
public @interface ApiInitialization {
    String value() default "";
//    Class<? extends Throwable>[] rollbackFor() default {};
//    Class<? extends RequestInitializeStrategy> initStrategy() default RequestInitializeStrategy.class;
//    Class<?> initStrategy() default DefaultRequestInitializeStrategy.class;
    Class<? extends RequestInitializeStrategy> initStrategy() default DefaultRequestInitializeStrategy.class;
//    boolean logEnable() default false;
//    LogType[] logType() default {};
}
